<?php if($rows) :?>    
    <div id="group_listing">
    <?php foreach($rows as $row):?>
	<?php 
	    $data['row'] = mdGetInfoRealEstateByObject( $row );           
	    print theme('record_real', $data);
	?>
    <?php endforeach; ?>
    </div>
<?php endif; ?>
